package com.wdc.principles.segregation;

public class B implements Interface1 {

    @Override
    public void method1() {
        System.out.println("B use method1");
    }

    @Override
    public void method2() {
        System.out.println("B use method2");

    }

    @Override
    public void method3() {
        System.out.println("B use method3");

    }

    @Override
    public void method4() {
        System.out.println("B use method4");

    }
}
